package com.youdianda.service;

import com.youdianda.dto.YddLinkPageDTO;
import com.youdianda.entity.YddLink;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.result.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
* @author xliu
* @description 针对表【ydd_link】的数据库操作Service
* @createDate 2023-05-14 16:01:34
*/
public interface YddLinkService extends IService<YddLink> {
    /**
     * 链接详情
     * @param id
     * @return
     */
    public Result rowInfo(String id);
    /**
     * 链接修改
     * @param yddLink
     * @return
     */
    public Result update( YddLink yddLink);
    /**
     * 链接删除
     * @param id
     * @return
     */
    public Result del(String id);
    /**
     * 链接添加
     * @param yddLink
     * @return
     */
    public Result add( YddLink yddLink);
    /**
     * 链接列表分页
     * @param dto
     * @return
     */
    public Result list(YddLinkPageDTO dto);
}
